package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;

public class commentRowMapper implements RowMapper<commentbean>{

	public commentbean mapper(ResultSet rs) throws SQLException {
		commentbean com=new commentbean();
	    com.setCid(rs.getInt("cid"));
	    com.setUid(rs.getInt("uid"));
	    com.setCnew(rs.getInt("cnew"));
	    com.setGid(rs.getInt("gid"));
		return com;
	}
}
